Inheritance diagram for I3DShPrimitive:

Public Member Functions | |
| virtual boolean MCCOMAPI | IsPatchBased ()=0 |
| virtual MCCOMErr MCCOMAPI | EnumPatches (EnumPatchesCallback callback, void *privData, boolean &closed)=0 |
| virtual MCCOMErr MCCOMAPI | ChangedData ()=0 |
| virtual MCCOMErr MCCOMAPI | GetFMesh (real lod, FacetMesh **mesh)=0 |
| virtual void MCCOMAPI | GetRenderingFacetMesh (FacetMesh **mesh)=0 |
| virtual void MCCOMAPI | GetRenderingMesh (MeshDataStructure::TMeshList **meshList)=0 |
| virtual boolean MCCOMAPI | IsVolumic ()=0 |
| virtual void MCCOMAPI | BeginUV2XYZ ()=0 |
| virtual boolean MCCOMAPI | UV2XYZ (const TVector2 &uv, uint32 uvSpaceID, TVector3 &thePos3D, TVector3 *normal)=0 |
| virtual void MCCOMAPI | EndUV2XYZ ()=0 |
| virtual I3DShObject *MCCOMAPI | GetI3DShObject ()=0 |
| virtual int16 MCCOMAPI | GetNbrLOD () const =0 |
| virtual real MCCOMAPI | GetLOD (int16 index) const =0 |
| virtual void MCCOMAPI | SetChildPrimitive (I3DShPrimitive *primitive)=0 |
| virtual I3DShPrimitive *MCCOMAPI | GetChildPrimitive ()=0 |
| virtual boolean MCCOMAPI | GetRayHit (RayHitParameters ¶ms)=0 |
Most primitives created in Carrara are external primitives (see I3DShExternalPrimitive for a more information on external primitives).
A primitive always supports the following interfaces: I3DShObject, I3DShMaster.
|
|
Call this function before UV2XYZ(). |
|
|
Call this if you changed some data of the Primitive, so the Shell hear about it |
|
|
Call this function after UV2XYZ() to delete caches. |
|
||||||||||||||||
|
Enumerates the list of patches that compose the primitive.
|
|
|
Returns a pointer to the child primitive of this primitive. Returns NULL if there is no child primitive. |
|
||||||||||||
|
Returns the facet mesh for a given level of detail. (This is the quality that is used for the 3D view. To get the full detail mesh, call GetRenderingFacetMesh()).
|
|
|
Returns a pointer to I3DShObject. (This methid is faster than calling QueryInterface). |
|
|
Returns the precision for a given Level of Detail.
|
|
|
Returns the number of LOD (level of details) that are supported by this primitive. |
|
|
Calculates the intersection of a ray and this primitive |
|
|
Returns the facet mesh associated with the primitive that should be used for the final rendering.
|
|
|
Returns a pointer to the rendering mesh associated with the primitive. Note that the mesh should not be cached by the primitive so it can be modified by the caller. It is the caller responsability to call release on the mesh once it is not used anymore.
|
|
|
Returns true if the primitive is composed of Beziers patches. |
|
|
Returns true if the primitive is a volumic primitive (see IVolumePrimitive). |
|
|
Sets a child primitive for this primitive
|
|
||||||||||||||||||||
|
Returns the 3D position of a point given it's uv coordinates. Note that if the uv coordinates are degenerated, there might be several points on the mesh that could be returned...
|
1.4.5